package inherit_test;

public class Animal {
    String eye;

    public void run(){
        System.out.println("run");
    }
    public void eat(){
        System.out.println("eat");
    }
}

class Mammal extends Animal{
    public void taisheng(){
        System.out.println(this);
        System.out.println("taisheng");
    }
    public static void main(String[] args){
       Mammal s = new Mammal();
       s.taisheng();
    }
}